package cn.iocoder.yudao.module.picturebook.controller.admin.user.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 用户信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class PBUserRespVO {

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10032")
    @ExcelProperty("用户ID")
    private Long id;

    @Schema(description = "用户名", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @ExcelProperty("用户名")
    private String username;

    @Schema(description = "密码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("密码")
    private String password;

    @Schema(description = "真实姓名", example = "芋艿")
    @ExcelProperty("真实姓名")
    private String realName;

    @Schema(description = "头像URL")
    @ExcelProperty("头像URL")
    private String avatar;

    @Schema(description = "性别：1-男，2-女，0-未知")
    @ExcelProperty("性别：1-男，2-女，0-未知")
    private Integer gender;

    @Schema(description = "出生日期")
    @ExcelProperty("出生日期")
    private LocalDate birthDate;

    @Schema(description = "手机号")
    @ExcelProperty("手机号")
    private String phone;

    @Schema(description = "邮箱")
    @ExcelProperty("邮箱")
    private String email;

    @Schema(description = "用户类型：1-学生，2-老师，3-管理员", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("用户类型：1-学生，2-老师，3-管理员")
    private Integer userType;

    @Schema(description = "学校")
    @ExcelProperty("学校")
    private String school;

    @Schema(description = "年级")
    @ExcelProperty("年级")
    private String grade;

    @Schema(description = "班级", example = "王五")
    @ExcelProperty("班级")
    private String className;

    @Schema(description = "状态：1-正常，2-禁用", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("状态：1-正常，2-禁用")
    private Integer status;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}